//@import "variable";
// 背景图片
bg-image($url) {
  //background-images: url($url + "@2x.png")
  //@media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3)
  //background-images: url($url + "@3x.png")
}


// 不换行
@mixin no-wrap {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@mixin overflow-ell($line: 3) {
  display: -webkit-box;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
}

// 扩展点击区域
@mixin extend-click() {
  position: relative;
  &:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }
}
